# 设置开发环境变量
$env:SERVER_HOST = "localhost"
$env:SERVER_PORT = 8000
$env:DB_PORT = 5432
$env:DATABASE_NAME = "postgres"
$env:SCHEMA_NAME = "public"
$env:JDBC_USERNAME = "postgres"
$env:JDBC_PASSWORD = "postgres"
$env:EXCLUDE_TABLES = "flyway_schema_history,vector_store,*_mapping"

# 复用 SERVER_HOST 和 SERVER_PORT 的值来构建 API_BASE_URL
$env:API_BASE_URL = "http://$env:SERVER_HOST`:$env:SERVER_PORT/api"

Write-Host "Environment variables have been set successfully!"
Write-Host "Server Host: $env:SERVER_HOST"
Write-Host "Server Port: $env:SERVER_PORT"
Write-Host "API Base URL: $env:API_BASE_URL"